package com.dcm.bargain.mapper;

import com.dcm.bargain.entity.CutPriceEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Mengxiangjian
 * @Date: 2021/4/1 10:06
 * @Version V 1.0
 */
public interface RecordMapper {
    /**
     * 查找所有
     * @param uid
     * @return CutPriceEntity
     */
    List<CutPriceEntity> findAll(@Param("uid") Long uid);
    /**
     * 查找帮砍的用户
     * @param uid
     * @param bid
     * @return String
     */
    List<String> findHelper(@Param("uid") Long uid, @Param("bid") Long bid);
    /**
     * 倒叙
     * @return String
     */
    List<CutPriceEntity> findAllDesc();
    /**
     * 发货
     * @return String
     */
    List<CutPriceEntity> findAllDpt();

}